<?php

namespace App\Modules\Popularize\Lib;

class StrLib {
    public static function camelize($uncamelized_words,$separator='_'){
        $uncamelized_words = str_replace($separator, " ", strtolower($uncamelized_words));
        return ltrim(str_replace(" ", "", ucwords($uncamelized_words)), $separator );
    }
}
